Computer Programming Fundamentals by A. B. Lawal

Computer Programming Fundamentals by A. B. Lawal

Author:A. B. Lawal [Lawal, A. B.]
Language: eng
Format: epub
Tags: programming fundamentals, computer programming for beginners, programming for beginners, fundamentals of computer programming, programming basics, programming beginner, c programming languages, learn computer programming
Publisher: A. B. Lawal
Published: 2020-05-07T23:00:00+00:00


Text/Character Data type

We also expect a data type for textual content, characters, words, sentences and paragraphs. Many languages have a data type for a single character, just one letter at a time, but what's typically more desirable is a larger amount of text. This is what in programming is called a string.

A string is a collection of characters all strung together in a sequence.

Fig 3.5.4: Examples of text/character data type

Strings are very easy to create, but it's worth considering that a string is more complex for the computer than a number or a Boolean. It’s simply because we don't really know how big it is.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.